<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
 <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 

<!-- Start of main content -->

<div id="content">
<div id="main-wrapper">

<div id="sidebar">

<h2><bean:message key="listnews.arch"/></h2>

<ul>

<li><a href="#"><bean:message key="listnews.nov"/></a></li>
<li><a href="#"><bean:message key="listnews.oct"/></a></li>
<li><a href="#"><bean:message key="listnews.oct07"/></a></li>
<li><a href="#"><bean:message key="listnews.fullarch"/></a></li>

</ul>

<h2><bean:message key="listnews.sub"/></h2>

<p><a href="<c:url value="/news/news_rss.do"/>" class="rss" title="Subscribe to the blog via RSS">RSS</a></p>
</div>


<div id="main">

	<p class="category">News</p>
	
	<div class="clearall"></div>

	<c:forEach var = "listElement" items = "${requestScope.newsList}"> 
		<div class="hr"><hr /></div>

		<br />
		<h3><a href="#">${listElement.title}</a></h3>
		<p class="date">${listElement.creation_date}| <strong>News</strong></p>
			<p>${listElement.description}</p>
	</c:forEach>
	
</div> <!-- Closes #main -->


</div> <!-- Closes #content -->
</div> <!-- Closes #wrapper -->
